function help(obj){
		var help=document.getElementById('helpDiv');
		if(help.style.display=='block'){
			help.style.display='none';
		}else{
			help.style.display='block';
			API.tabHelpList(function(res) {
				if (res.code == '0') {
					var operation = res.data.operation;
					var remark = res.data.remark;
					document.getElementById("tab_help_operation").innerText=operation;
					document.getElementById("tab_help_remark").innerText=remark ;
					UTIL.releaseButton(obj);
				}else{
					
				}
			});
		
		}
}
$(function(){
	var remindFlag = false;
	if($("#remindFlag").val() == '1') {
		$("#remind").show();
		remindFlag = true;
	}
	$("#remind" ).dialog({
		autoOpen: remindFlag,
		height: 200,
		width: 300,
		modal: true,
		buttons: {
			确定: function() {
				$(this).dialog( "close" );
			}
		},
		close: function() {
			$("#std").val("").removeClass( "ui-state-error" );
		}
	});
	// 点击后该次登录中就不提醒了
	API.callInterface("/remind_confirm.do", {}, true, function (res) {
		if (res.code != '0') {
			alert(res.desc);
		}
	});
});


$(function(){
	var _this1=null;
	$('.nav>li').hover(function(){
		_this1=$(this);
		_this1.find('.second-nav').show();
		var _this2=null;
		_this1.find('.second-nav').find('li').hover(function(){
			_this2=$(this);
			_this2.find('.third-nav').show();
			_this2.find('.third-nav').hover(function(){
				$(this).show();
			},function(){
				$(this).hide();
			});
		},function(){
		});
	},function(){
		_this1.find('.second-nav').hide();
	});
});